<?php
class Permissions extends Zend_Db_Table
{
	protected $_name = "permissions";
	
	public function getAllPermissions()
	{
		$select = $this->_db->select()
							->from(array('perm'=>$this->_name),"name");
		$results = $this->getAdapter()->fetchAll($select);
		return $results;
	}
}